package org.theSeed.rbacBaseCommon.pojo.constant;

public class RbacConstant {
    /**
     * 权限刷新标识
     */
    public static final String PERMISSION_UPDATE_PREFIX = "PERMISSION_UPDATE_";

    /**
     * 资源权限标识
     */
    public static final String RESOURCE_PERMISSION_KEY_PREFIX = "RESOURCE_PERMISSION_";

    /**
     * 接口权限标识
     */
    public static final String API_PERMISSION_KEY_PREFIX = "API_PERMISSION_";

    /**
     * 角色缓存
     */
    public static final String SEED_ROLE_INFO_PREFIX = "SEED_ROLE_INFO:";



    /**
     * 登录缓存
     */
    public static final String CACHE_USER_INFO = "LOGIN_USER_INFO:";

    /**
     * 登录信息线程缓存
     */
    public static final String LOGIN_THREAD_CACHE = "LOGIN_THREAD_CACHE";












    /**
     * token请求头
     */
    public static final String AUTH_HEAER = "Authorization";

    /**
     * token前缀
     */
    public static final String AUTH_VALUE_PREFIX = "Bearer ";







    /**
     * 白名单请求头
     */
    public static final String SEED_WHITE_URL_FLAG = "Seed-White-Url-Flag";

    /**
     * 用户信息请求头
     */
    public static final String SEED_USERINFO_HEADER = "Seed-UserInfo-Header";
}
